package com.young.springdemo.service.expression;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

//@Component
public class testExpression {


//    @PostConstruct
    public void testExpress(){
        String instructions = "up move 2 and left run 10 and right move 8 and down run 99";
        InstructionHandler handler = new InstructionHandler();
        handler.handle(instructions);
        System.out.println(handler.outPut());
    }

}
